Functions


Accessing a Component’s Resource File

CloseComponentResFile Closes the resource file that your component opened previously with the OpenComponentResFile function.
OpenComponentResFile Allows your component to gain access to its resource file.

Calling Other Components

DelegateComponentCall Allows your component to pass on a request to a specified component.

Capturing Components

CaptureComponent Allows your component to capture another component.
UncaptureComponent Allows your component to uncapture a previously captured component.

Changing the Default Search Order

SetDefaultComponent Changes the search order for registered components.

Creating and Managing Universal Procedure Pointers

DisposeComponentRoutineUPP Disposes of the universal procedure pointer (UPP) to a component routine callback function.
InvokeComponentRoutineUPP Calls your component routine callback function
NewComponentRoutineUPP Creates a new universal procedure pointer (UPP) to a component routine callback function.

Dispatching to Component Functions

CallComponentFunction Invokes the specified function of your component.
CallComponentFunctionWithStorage Invokes the specified function of your component.

Finding Components

CountComponents Returns the number of registered components that meet the selection criteria specified by your application.
FindNextComponent Returns the component identifier for the next registered component that meets the selection criteria specified by your application.
GetComponentListModSeed Allows your application to determine if the list of registered components has changed.

Getting Information About Components

ComponentFunctionImplemented Allows your application to determine whether a component supports a specified request.
GetComponentIconSuite Returns a handle to a component’s icon suite to your application.
GetComponentInfo Returns to your application the registration information for a component.
GetComponentVersion Returns the version number of a component to your application.

Managing Component Connections

CountComponentInstances Determines the number of open connections being managed by a specified component.
GetComponentInstanceA5 Retrieves the value of the A5 register for a specified connection.
GetComponentInstanceStorage Allows your component to retrieve a handle to the memory associated with a connection.
SetComponentInstanceA5 Allows your component to set the A5 world for a connection.
SetComponentInstanceStorage Allows your component to associate memory with a connection.

Opening and Closing Components

CloseComponent Terminates your application’s connection to a component.
OpenComponent Opens a connection to the component with the component identifier specified by your application.
OpenDefaultComponent Opens a connection to a registered component of the component type and subtype specified by your application.

Registering Components

RegisterComponent Registers a component stored in memory.
RegisterComponentResource Registers a component stored in a resource file.
RegisterComponentResourceFile Registers all component resources in the given resource file.
UnregisterComponent Removes a component from the Component Manager’s registration list.

Retrieving Component Errors

GetComponentInstanceError Returns to your application the last error generated by a specific connection to a component.

Setting Component Errors

SetComponentInstanceError Passes error information to the Component Manager which sets the current error value for the appropriate connection.

Targeting a Component Instance

ComponentSetTarget Calls a component’s target request function and informs a component that it has been targeted by another component.

Working With Component Reference Constants

GetComponentRefcon Retrieves the value of the reference constant for your component.
SetComponentRefcon Sets the reference constant for your component.

Miscellaneous

CallComponent
CallComponentCanDo
CallComponentClose
CallComponentDispatch
CallComponentFunctionWithStorageProcInfo
CallComponentGetMPWorkFunction
CallComponentGetPublicResource
CallComponentMPWorkFunctionProc
CallComponentOpen
CallComponentRegister
CallComponentRoutineProc
CallComponentTarget
CallComponentUPP
CallComponentUnregister
CallComponentVersion
DisposeComponentFunctionUPP
DisposeComponentMPWorkFunctionUPP
DisposeGetMissingComponentResourceUPP
GetComponentIndString
GetComponentPublicResource
GetComponentPublicResourceList
GetComponentResource
GetComponentTypeModSeed
InvokeComponentMPWorkFunctionUPP
InvokeGetMissingComponentResourceUPP
NewComponentFunctionUPP
NewComponentMPWorkFunctionProc
NewComponentMPWorkFunctionUPP
NewComponentRoutineProc
NewGetMissingComponentResourceUPP
OpenAComponent
OpenAComponentResFile
OpenADefaultComponent
ResolveComponentAlias

© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)